n=eval(input())
i=2
o=-1
s=1
while i<=n:
    o*=-1
    s=s+i*o
    i+=1
print(s)